from conf.ds4gz import DsConfig


class Config(object):
  doidl_db_config = DsConfig.dldoi_sqlitedb
  main_db_config = DsConfig.main_sqlitedb
  dl_dir = '/dlfiles/docu_dl_analyze'  # 根据 doi 下载的文件存放目录
  upload_dir = '/upfiles/docu_upload'  # 上传文件目录

  crossref_user = '934096384@qq.com'
  crossref_url0 = 'https://doi.crossref.org/servlet/query'

  ai_conf = {
    "base_url": "https://api.moonshot.cn/v1",
    "api_key": "sk-7nLl9kOz6bDduqMdNGjc57YtiRU0Klq1kRxv4UV4eTlRv19R",
    "model": "moonshot-v1-8k",
    "rec_ai_qa": True  # 记录与AI的对话
  }

  ai_conf_bak = {
    "base_url": "http://127.0.0.1:11434/v1",
    "api_key": "llm-a100",
    "model": "qwen2:latest",
    "rec_ai_qa": True  # 记录与AI的对话
  }
